package com.zytlifeservice.repository.pay;

import com.zytlifeservice.domain.pay.Passengers;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by MJS on 2017/6/26.
 */
public interface PassengersRepository extends JpaRepository<Passengers, Long> {

    public List<Passengers> findAllByIdcardNo(String idCardNo);

    public Passengers findByOrderNo(String orderNo);
}
